package cn.hxlc.tie.demo.modular.material.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName("xjf_bd_mapack_entry")
public class MaPackEntry implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "FID", type = IdType.AUTO)
    private Long fid;

    /**
     * 主表ID
     */
    @TableField("FPARENTID")
    private Long fparentid;

    /**
     * 包材ID
     */
    @TableField("FMATERIALID")
    private Long fmaterialid;

    /**
     * 计量单位
     */
    @TableField("FUNITID")
    private Long funitid;

    /**
     * 最小包装物 0否1是
     */
    @TableField("FISMINIMUM")
    private boolean fisminimum;

    /**
     * 数量
     */
    @TableField("FQTY")
    private BigDecimal fqty;

    /**
     * 标签类型ID
     */
    @TableField("FTAGTYPEID")
    private Long ftagtypeid;

    /**
     * 描述
     */
    @TableField("FDESCRIPTION")
    private String fdescription;

}
